﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="FaqContentManageRight.aspx.cs" Inherits="CRM.Web.FaqManage.FaqContentManageRight" ValidateRequest="false" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>FAQ业务内容编辑</title>
    <link href="<%= base.ResourcesPath + "Style/faq.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
<form id="form1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">

    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" Text="" style="FONT-SIZE: 10pt; FONT-FAMILY:微软雅黑; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">&nbsp;
        </asp:Label></div>
    </div>
	
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
</table>
    <div id="divMainFAQ" >
    <table border="0" cellpadding="0" cellspacing="0" style="width:100%;" class="table">
    <tr>
        <td class="title">菜单编号:</td>
        <td class="content">
            <asp:TextBox ID="txtCATID" runat="server" CssClass="txt" MaxLength="50" Rows="3"
                TextMode="SingleLine" Enabled="false"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="title">内容编号:</td>
        <td class="content">
            <asp:TextBox ID="txtSRCID" runat="server" CssClass="txt" MaxLength="50" Rows="3"
                TextMode="SingleLine" Enabled="false"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="title">FAQ发布主题：</td>
        <td class="content"><asp:TextBox ID="txtSRCTITLE" runat="server" CssClass="txt" MaxLength="512" style="width:60%"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtSRCTITLE" Display="Dynamic" ErrorMessage="必填项"></asp:RequiredFieldValidator>
        </td>
        <td>&nbsp;
        </td>
    </tr>
    <tr>
        <td class="title">关键字：</td>
        <td class="content"><asp:TextBox ID="txtSRCKEY" runat="server" CssClass="txt" MaxLength="512" style="width:60%"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtSRCKEY" Display="Dynamic" ErrorMessage="必填项"></asp:RequiredFieldValidator>
        </td>
        <td>&nbsp;
        </td>
    </tr>
    <tr>
        <td class="title">发布内容：</td>
        <td class="content">
            <FCKeditorV2:FCKeditor ID="fckNewsMessage" runat="server" Width="550px"  BasePath="../Resources/fckeditor/" ToolbarSet="MySet">
            </FCKeditorV2:FCKeditor>
        </td>
        <td>&nbsp;
        </td>
    </tr>
    <tr>
        <td class="title">附件：</td>
        <td class="content">
        <asp:FileUpload ID="ImportFile" runat="server" size="30" />&nbsp;
            <asp:Button ID="btnUpload" runat="server" Text="上传" CommandName="btnUpload" CausesValidation="False" OnClick="btnUpload_Click" />
            <asp:Label ID="lblATTACHFILE" runat="server"></asp:Label>
            <asp:TextBox ID="txtATTACHFILE" runat="server" CssClass="txt" style="display: none; " Rows="3"
                TextMode="SingleLine"></asp:TextBox>
        </td>
        <td>&nbsp;
        </td>
    </tr>
    <tr>
        <td class="title">是否启用:</td>
        <td class="content">
            <asp:RadioButton ID="rbISACTIVE0" runat="server" GroupName="rbISACTIVE" ValidationGroup="rbISACTIVE" Text="否" />
            <asp:RadioButton ID="rbISACTIVE1" runat="server" GroupName="rbISACTIVE" ValidationGroup="rbISACTIVE" Text="是" Checked="true"/>
        </td>
    </tr>
</table>
    <div style="width: 100%">
        <div class="btndiv">
            <span class="btnspan">
                 <asp:Button ID="btnAdd" runat="server" Text="新添" CommandName="Add" CssClass="btn title_qd"
                            OnClick="btnAdd_Click" Visible="false" /></span>&nbsp;
            </span>
            <span class="btnspan">
                <asp:Button ID="btnOK" runat="server" Text="保存" CommandName="Save" CssClass="btn title_qd"
                            OnClick="btnOK_Click" /></span>&nbsp;
            </span>
            <span class="btnspan">
                <asp:Button ID="btnDelete" runat="server" Text="删除" CommandName="Save" 
                CssClass="btn title_qd" onclick="btnDelete_Click" /></span>&nbsp;
            </span>
             <span class="btnspan">
                <input id="btnCancel" runat="server" type="button" value="返回" class="btn title_fh" />
            </span>
        </div>
    </div>
    </div>
</form>
</body>
</html>
